<!-- 测试图片上传 -->
<template>
    <v-card >
      <v-card-title>自定义本地图片上传组件</v-card-title>
      <v-card-subtitle>
        <p>组件：vue-upload-component</p>
        <p>官网：<a href="https://lian-yue.github.io/vue-upload-component/#/">https://lian-yue.github.io/vue-upload-component/#/</a> </p>
      </v-card-subtitle>
      <v-card-text>
        <image-upload v-model="images" module-name="admin" :cover.sync="cover"></image-upload>
        <p>cover:<code>{{cover}}</code></p>
        <p>images:<code>{{images}}</code></p>
      </v-card-text>
    </v-card>
</template>
<script>
import ImageUpload from '@/components/Form/ImageUpload.vue'
export default {
  name: 'DemoImageUpload',
  components: { ImageUpload },
  data: function () {
    return {
      // eslint-disable-next-line
      images: [
        'http://api.festival.sx-cc.com/uploads/20190830/50b7585e1dd29cc5850905b897ff24c2.jpg',
        'http://api.festival.sx-cc.com/uploads/20190830/68ecc77055125e7217510b9c630f7968.jpg'
      ],
      cover: ''
    }
  }
}
</script>
<style scoped>
</style>
